ESP32-WROOM-32 Type-C Dev Board Pinout

An interactive reference for the CP2102, USB Type-C, dual-core ESP32 board. Click any pin for its functions, boot-time behavior and a MicroPython example. The antenna is at the top and the USB-C port at the bottom.

Board version
Safe to use Use with care (boot / serial) Input only Don't use (internal flash) Power / control

Board specifications

Processor & memory

Module
ESP32-WROOM-32 (also sold as ESP-32S / ESP32-32D)
Chip
ESP32-D0WD series
CPU
2× Xtensa LX6, 32-bit, up to 240 MHz
SRAM
520 KB
ROM
448 KB
Flash
4 MB SPI flash
PSRAM
None (WROVER modules have it)

Wireless

Wi-Fi
802.11 b/g/n, 2.4 GHz (2412–2484 MHz)
Wi-Fi modes
Station, Access Point, AP+STA
Max data rate
Up to 150 Mbps (802.11n)
Bluetooth
v4.2 BR/EDR (Classic) + BLE
Antenna
PCB trace antenna on the module

Power & USB

USB port
USB Type-C
USB-serial chip
Silicon Labs CP2102 (CP210x driver)
Default baud
115200
Supply
5 V from USB, or 5 V into the 5V/VIN pin
Logic level
3.3 V. GPIOs are not 5 V tolerant.
Wi-Fi TX peak
≈ 240 mA. Use a solid USB port.
Per-pin current
Keep to about 20 mA. 40 mA is the absolute maximum.

Peripherals

ADC
12-bit SAR, 18 channels (ADC1 + ADC2)
DAC
2× 8-bit (GPIO 25, 26)
Touch
10 capacitive touch inputs
PWM
16 LEDC channels, any output pin
UART / SPI / I2C
3 / 4 (2 user) / 2
Other
2× I2S, TWAI (CAN), RMT, MCPWM, Ethernet MAC
Buttons / LEDs
EN (reset), BOOT (GPIO 0), power LED; many 30-pin boards add a blue LED on GPIO 2

Default bus pins in MicroPython

BusMicroPython defaultExampleNotes
I2C(0)SCL 18, SDA 19I2C(0)Any output pins work: I2C(0, scl=Pin(22), sda=Pin(21)) matches the Arduino convention that most tutorials and modules use.
I2C(1)SCL 25, SDA 26I2C(1)Second hardware I2C bus.
SPI(2) — VSPISCK 18, MOSI 23, MISO 19SPI(2)Usual CS: GPIO 5. Non-default pins are limited to 40 MHz.
SPI(1) — HSPISCK 14, MOSI 13, MISO 12SPI(1)Usual CS: GPIO 15. GPIO 12 is a boot strapping pin, so take care.
UART0TX 1, RX 3—Used by the REPL and USB. Leave it free.
UART2TX 17, RX 16UART(2, 9600)The best UART for GPS, sensors and other boards.
UART1TX 10, RX 9 (flash pins)UART(1, tx=…, rx=…)Always pass your own pins, e.g. tx=Pin(4), rx=Pin(5).

Rules that prevent most problems

3.3 V only

Never feed 5 V into a GPIO. Use a level shifter or a voltage divider for 5 V sensors. ADC inputs max out at 3.6 V.

Leave GPIO 6–11 alone

These connect to the module's internal flash. Using them crashes the board. On the 38-pin board they're labeled CLK, SD0–SD3 and CMD.

34–39 are inputs only

GPIO 34, 35, 36 (VP) and 39 (VN) can't drive outputs and have no internal pull-ups. They're ideal for analog readings.

Watch the strapping pins

GPIO 0, 2, 5, 12 and 15 are read at power-up. GPIO 12 high at boot can stop the board from starting, and GPIO 0 low enters flash mode.

ADC2 stops when Wi-Fi is on

Analog reads on GPIO 0, 2, 4, 12–15 and 25–27 fail while Wi-Fi is active. For analog input in Wi-Fi projects, use the ADC1 pins (32–39).

Best general-purpose pins

GPIO 4, 13, 16–19, 21–23, 25–27, 32 and 33 have no boot quirks and work for input, output and PWM.